<nz-layout>
  <!-- 左边导航 -->
  <nz-sider>
    <app-menu [formartMenu]="formartMenu"></app-menu>
  </nz-sider>

  <nz-layout>
    <nz-header>
      <nz-dropdown style="margin-right: 4px;position: relative;top: -14px;">
        <span nz-dropdown>
          {{ user.departmentName + ' - ' + user.employeeName }} <i class="anticon anticon-down"></i>
        </span>
        <ul nz-menu nzSelectable>
          <li nz-menu-item>
            <a (click)="signOut()">退出登录</a>
          </li>
        </ul>
      </nz-dropdown>
      <nz-avatar nzIcon="anticon anticon-user" nzSrc="http://img2.imgtn.bdimg.com/it/u=3897351113,232576545&fm=27&gp=0.jpg"></nz-avatar>
    </nz-header>
    <!-- 面包屑 routerLink="{{ crumb.url }}" -->
    <nz-breadcrumb>
      <nz-breadcrumb-item *ngFor="let crumb of breadcrumb;let i = index;">
        <a (click)="breadcrumbHref(crumb)">
          {{ crumb.name }}
        </a>
      </nz-breadcrumb-item>
    </nz-breadcrumb>
    <!-- 内容 -->
    <nz-content>
      <router-outlet></router-outlet>
    </nz-content>
    <!-- <nz-footer>Footer</nz-footer> -->
  </nz-layout>

</nz-layout>
